import React, {useState} from 'react'
import Son from './components/Son'

export default function UserUnlock() {

  const [sonnum, setSonnum] = useState(null)

  const getPrice = (e) => {
    console.log(e, 'e');
    setSonnum(e)
  }
  
  return (
    <div>
      UserUnlock: {sonnum}
      <Son num={10} getPrice={getPrice}/>
    </div>
  )
}
